package com.dgshanger.sanhxiaofeisc.ui;

import android.animation.ValueAnimator;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.drawable.GlideDrawable;
import com.bumptech.glide.request.animation.GlideAnimation;
import com.bumptech.glide.request.target.SimpleTarget;
import com.xx.baseuilibrary.BaseActivity;

/**
 * TestActivity
 * 沉迷学习不能自拔
 * Describe：
 * Created by 雷小星🍀 on 2018/4/4 14:33.
 */

public class TestActivity extends BaseActivity {

    public void test(String... msg) {
        Glide.with(mContext)
                .load("")
                .into(new SimpleTarget<GlideDrawable>() {
                    @Override
                    public void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> glideAnimation) {
                        new TextView(mContext)
                                .setCompoundDrawablesWithIntrinsicBounds(null, resource, null, null);
                    }
                });

    }

    @Override
    protected int getActivityLayoutId() {
        return 0;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initEvent() {

    }
}
